<template>
	<view>
		<u-select v-model="show" :list="list" @confirm="confirm"></u-select>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false,
				list: [{
						value: '1',
						label: '通道1(默认推荐)'
					},
					{
						value: '2',
						label: '通道2'
					}
				],
			}
		},
		methods: {
			open() {
				this.show = true;
			},
			confirm(e){
				console.log(e,'confirm')
				this.$emit('confirm',e[0])
			}
		}
	}
</script>

<style>

</style>